load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "ut_lib",
    srcs = [
        "longtests.go",
        "ut.go",
    ],
    importpath = "github.com/pingcap/tidb/tools/check",
    visibility = ["//visibility:private"],
    deps = [
        "@org_golang_x_tools//cover",
        "@org_uber_go_automaxprocs//:automaxprocs",
    ],
)

go_binary(
    name = "ut-server",
    embed = [":ut_lib"],
    visibility = ["//visibility:public"],
)
